package com.skywolf.chem.pageconfig.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skywolf.chem.pageconfig.entity.FirstPage;
import com.skywolf.chem.pageconfig.pojo.param.AticleParam;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * PC首页内容表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-06-22
 */
@Mapper
public interface FirstPageMapper extends BaseMapper<FirstPage> {
    List<AticleParam> getPCFirstPageConfig(@Param("type")Integer type);

    void delPCFirstPageData(@Param("articleId")Long articleId);
}
